torchvision.transforms.The Image used is this one with JPEG format,size :(4288, 2848) and RGB model.
from PIL import Image
from pathlib import Path
import matplotlib.pyplot as plt
import numpy as np
import sys
import torch
import numpy as np
import torchvision.transforms as transforms
# Open the image file
img = Image.open("Data/cat.jpg")
# Display some information about the image
print(img.format)
print(img.size)
print(img.mode)
# Show the image
img.show()
JPEG (4288, 2848) RGB